<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<base href="__ROOT__/">
<title>{$projectname}</title>
<link href="./Public/Css/app.css" rel="stylesheet">
</head>

<body>
	<div id="app">
		<nav>
			<div style="float: left;">
				<strong style="font-size: 18px;">后台管理</strong> <small>{$version}</small>
			</div>
			{$topbar}
		</nav>
		<hr style="margin: 3px 0px 0px;">
		<div style="margin: 20px 150px 0px;">
			<a href="{$url}mb_AccountsManager" class=""><button class="func">代理商账目</button></a> <a
				href="{$url}mb_UserAccount" class=""><button class="func">玩家账目</button></a> <a
				href="{$url}mb_RechargeDetail" class=""><button class="func">充值明细</button></a> <br> <br>
			<div>
				<!---->
				<div>
					<table border="0" style="font-size: 12px;">
							<tr>
								<td align="right">UID：</td>
							<td>
								<form action="{$url}mb_RechargeDetail" method="get">
									<input name="id" type="text" placeholder="6位数字" size="12" onclick="submit">
								</form>
							</td>
							<td align="right">账号：</td>
							<td>
								<form action="{$url}mb_RechargeDetail" method="get">
									<input name="name" type="text" placeholder="玩家账号" size="12" onclick="submit">
								</form>
							</td>
							<!-- 
							<td align="right">玩家：</td>
							<td><input type="text" placeholder="UID或账号" size="10"></td>
							<td align="right">服务员：</td>
							<td><input type="text" placeholder="服务员账号" size="10"></td>
							
							<td align="right">日期范围：</td>
							<td><input type="text" size="12" readonly="readonly" value="{$date1}">-<input type="text" size="12" readonly="readonly" value="{$date2}"></td>
							<td>
								<a href="{$url}mb_RechargeDetail?name={$name}&handle=2&scope=0">
									<button>今天</button>
								</a>
								<a href="{$url}mb_RechargeDetail?name={$name}&handle=2&scope=1">
									<button>本周</button>
								</a>
								<a href="{$url}mb_RechargeDetail?name={$name}&handle=2&scope=2">
									<button>本月</button>
								</a>
							</td>
							-->
						</tr>
					</table>
					<table border="1" width="100%" class="grid">
						<tr class="tbh">
							<th width="60" style="text-align: center;">NO.</th>
							<th width="50">类型</th>
							<th width="70">简述</th>
							<th width="80">邀请码</th>
							<th width="80">UID</th>
							<th width="80">账号</th>
							<th width="80">冲前积分</th>
							<th width="50">积分</th>
							<th width="80">冲后积分</th>
							<th width="140">充值时间</th>
							<th width="40">渠道</th>
						</tr>
						{$logdata}
						<!-- 
						<tr align="center">
							<td></td>
							<th colspan="2" style="text-align: right; color: green;">单页总上分：</th>
							<th style="color: green;">0</th>
							<th colspan="2" style="text-align: right; color: blue;">单页总送分：</th>
							<th style="color: blue;">0</th>
							<th colspan="2" style="text-align: right; color: red;">单页总下分：</th>
							<th style="color: red;">0</th>
							<td></td>
						</tr>
						 -->
						<tr align="center">
							<td></td>
							<th colspan="2" style="text-align: right; color: green;">总上分：</th>
							<th style="color: green;">{$totalup}</th>
							<th colspan="2" style="text-align: right; color: blue;">总送分：</th>
							<th style="color: blue;">{$totalsend}</th>
							<th colspan="2" style="text-align: right; color: red;">总下分：</th>
							<th style="color: red;">{$totaldown}</th>
							<td></td>
							
						</tr>
						<tr align="center">
							<td></td>
							<th colspan="2" style="text-align: right;">总汇总：</th>
							<th>{$total}</th>
							<!-- 
							<th colspan="2" style="text-align: right;">单页汇总：</th>
							<th colspan="3">0</th>
							<td></td>
							<td></td>
							 -->
							
						</tr>
					</table>
					<a href="{$url}mb_RechargeDetail"><button>刷新</button></a>
					<!-- 
					<button disabled="disabled">上一页</button>
					<button disabled="disabled">下一页</button>
					<span>第1页</span> <span>总0页</span> <span>共0条</span>
					 -->
				</div>
			</div>
		</div>
	</div>
	</div>
</body>
</html>

